package com.baba.vote.service;

import com.baba.vote.dto.request.VoteActBo;
import com.baba.vote.dto.request.VotePeopleBo;
import com.baba.vote.dto.response.VoteActDto;
import com.baba.vote.pojo.VoteAct;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * @author moxinHuoHuo
 * @create 2020/4/7 下午11:45
 */
public interface VoteService {


  VoteActDto add(VoteActBo voteActBo);

  VoteActDto detail();

  String uploadVoteResult(MultipartFile file);

  Boolean stop();

  Boolean delete();

  Boolean submission(Integer voteActId, Integer voteItemId, VotePeopleBo votePeopleBo);

  VoteAct get();
}
